<?php
/**
 * +----------------------------------------------------------------------
 * | Author: 罗极
 * +----------------------------------------------------------------------
 * | Description: Config.php
 * +----------------------------------------------------------------------
 * | User: Administrator Date: 8/20/ 0020 Time: 17:25
 * +----------------------------------------------------------------------
 */


return [
    'app_name'      => '测试项目',
    'charset'       => 'utf-8',
    'debug'         => true,
    'main_dir_name' => 'Main',
    'app_version'   => 'V1',
    'accept_block'  => ['Index'],
    'develop_config'=> BASE_PATH.DS.'Global/Config/Debug.php',
    'router_path'   => BASE_PATH.DS.'Global/Config/Router.php',
    'default_error_404_path' => BASE_PATH.DS.'Global/Error/404.phtml',
    'default_error_50x_path' => BASE_PATH.DS.'Global/Error/50x.phtml',
    'error_dir_name'         => 'error',
    'error_404_file_name'    => '404.phtml',
    'error_50x_file_name'    => '50x.phtml',
    'view_dir_name'          => 'View',
    'controller_dir_name'    => 'Controller',
    'view_suffix'            => 'phtml',
    'db'                     => [
        'test' => [
            'dsn' => 'mysql:dbname=test;host=127.0.0.1',
            'username' => 'root',
            'password' => 'root'
        ],
    ],
];